#pragma once
#include "../drawopencv.h"
class CDrawPyrSegmentation :
	public CDrawOpenCV 
{
public:
	CDrawPyrSegmentation(void);
	virtual ~CDrawPyrSegmentation(void);
	DECLARE_MESSAGE_MAP()
public:
	// DealwithFrame
	virtual void DealwithFrame(void);
private:
	IplImage*  images[2], *images0;
	int block_size;
	CvMemStorage* storage;
	int  level;
	int  threshold1, threshold2;
	CvSeq *comp;
public:
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
};

